package com.eva.biz.system.dto;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Caesar Liu
 * @date 2022-03-26 15:52
 */
@Data
@ApiModel("触发分片任务参数")
public class TriggerJobSnippetDTO {

    @NotNull(message = "分片ID不能为空")
    private Integer id;

    @NotNull(message = "触发类型")
    private String triggerType;
}
